package cn.sherer.beans.kuaishou;

import java.io.Serializable;

/**
 * 快手返回结果
 */
public class KsResult implements Serializable {
    private int result;
    private String error;
    private String error_msg;

    public KsResult() {
    }

    public KsResult(int result, String error_msg) {
        this.result = result;
        this.error = error_msg;
        this.error_msg = error_msg;
    }

    public KsResult(int result, String error, String error_msg) {
        this.result = result;
        this.error = error;
        this.error_msg = error_msg;
    }

    public int getResult() {
        return result;
    }

    public void setResult(int result) {
        this.result = result;
    }

    public String getError() {
        return error;
    }

    public void setError(String error) {
        this.error = error;
    }

    public String getError_msg() {
        return error_msg;
    }

    public void setError_msg(String error_msg) {
        this.error_msg = error_msg;
    }

    @Override
    public String toString() {
        return "KsResult{" + "result=" + result + ", error=" + error + ", error_msg=" + error_msg + "}";
    }
}
